package com.devtools.project.tool.swagger.service;

import com.devtools.project.tool.swagger.domain.ToolSwagger;
import org.springframework.ui.Model;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.Map;

/**
 * Created by XiuYin.Cui on 2018/1/12.
 */
public interface WordService {

    Map<String, Object> tableList(ToolSwagger swagger);

    Map<String, Object> tableListFromString(String jsonStr);

    Map<String, Object> tableList(MultipartFile jsonFile);

    void writeContentToResponse(Model model, String template, String fileName, HttpServletResponse response);
}
